extends Panel


@onready var cv1 = $HBoxContainer/MarginContainer/CardView
@onready var cv2 = $HBoxContainer/MarginContainer2/CardView
@onready var cv3 = $HBoxContainer/MarginContainer3/CardView

func _ready():
	var array = CardManager.init_hand_pool_tres.warrior_trophy_cards
	cv1.card = array.pick_random().duplicate()
	
	cv1.mask.visible = true
	cv2.card = array.pick_random().duplicate()
	cv2.mask.visible = true
	cv3.card = array.pick_random().duplicate()
	cv3.mask.visible = true

func _on_button_pressed():
	Events.trophy_select.emit()
